<?php
/***************************************************************
*  Copyright notice
*  (c) 2009, jianyuzhu@gmail.com
*  All rights reserved
*  This script is part of the PPEMI project.
***************************************************************/

class LibNavigation {
	var $_total = 0;
	var $_start = 0;
	var $_length = 10;
	var $_page = 1;
	
	//constructor
	function LibNavigation($total = 0, $start = 0, $length = 10) {
		$this->_total = $total;
		$this->_start = $start;
		$this->_length = $length;
	}
	
	//setter/getter
	function setTotal($total) {
		$this->_total = $total;
	}
	
	function setStart($start) {
		$this->_start = $start;
	}
	
	function setLength($length) {
		$this->_length = $length;
	}
	
	function setPage($page) {
		$this->_page = $page;
	}
	
	//methods
	function display() {
		
	}
	
	//private
	function _calc() {
		
	}
}
//
?>